<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }
        
        p {
            word-break: break-all;
        }
        
        a {
            color: #000;
            text-decoration: none;
            outline: none;
        }
        
        a:hover {
            color: #f2473d;
        }
        
        footer .wrap {
            margin: 0 auto;
            overflow: hidden;
            width: 1206px;
            height: 497px;
        }
        
        html {
            margin: 0 auto;
            margin-right: 0;
        }
        
        footer {
            /* 更改宽度对齐 */
            /* width: 1424px; */
            position: relative;
            padding: 30px 0 0 0;
            background-color: #eee;
            margin-top: 50px;
            border-top: 1px solid #ddd;
            box-shadow: 0 1px #fff inset;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .code-item .link a {
            display: inline-block;
            padding: 0 10px;
            line-height: 28px;
            font-size: 12px;
            color: #999;
            background-color: #ddd;
            border-radius: 3px;
        }
        
        .link:first-child a {
            margin-right: 10px;
        }
        
        div .code-box {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-auto-columns: repeat(3, 1fr);
            grid-column-gap: 3.0rem;
            justify-content: space-around;
        }
        /* 官方微博 */
        
        .code-box>li:first-child {
            float: left;
            /* margin-left: 30%; */
            border: 1px solid #ddd;
            width: 300px;
            padding: 34px;
        }
        
        .code-box>li:first-child>div:nth-child(1) {
            float: left;
            width: 100px;
        }
        
        .code-box>li:first-child>div:nth-child(2) {
            float: right;
            width: 195px;
        }
        /* 有宠App */
        
        .code-box>li:nth-child(2) {
            float: left;
            border: 1px solid #ddd;
            width: 300px;
            padding: 34px 34px 34px 34px;
        }
        
        .code-box>li:nth-child(2)>div:nth-child(1) {
            float: left;
            width: 100px;
        }
        
        .code-box>li:nth-child(2)>div:nth-child(2) {
            float: left;
            width: 195px;
        }
        /* 有宠公众号 */
        
        .code-box>li:last-child {
            float: left;
            border: 1px solid #ddd;
            width: 300px;
            padding: 34px;
            /* margin-right: 30%; */
        }
        
        .code-box>li:last-child>div:nth-child(1) {
            float: left;
            width: 100px;
        }
        
        .code-box>li:last-child>div:nth-child(2) {
            float: right;
            width: 195px;
        }
        
        .code-item .t {
            font-size: 16px;
        }
        
        .code-item .s-t {
            margin: 12px 0;
            font-size: 12px;
            color: #999;
            border-radius: 3px;
        }
        
        .sub-nav {
            display: grid;
            grid-template-columns: repeat(7, 100px);
            grid-column-gap: 0.1rem;
            justify-content: space-between;
            align-items: center;
            text-align: center;
            width: 735px;
            box-sizing: border-box;
            margin: 0 auto;
            padding: 46px 0;
        }
        
        .sub-nav a {
            position: relative;
            padding: 0 20px;
            font-size: 15px;
        }
        
        .sub-nav a:after {
            content: '';
            display: block;
            width: 580px;
            position: relative;
            left: -260px;
            top: 36px;
            border-bottom: 1px solid rgb(134, 134, 134);
        }
        
        .sub-nav a:before {
            width: 0;
            height: 12px;
            position: absolute;
            top: -5px;
            right: -2px;
            border-right: 1px solid #999;
            content: "";
        }
        
        .sub-nav a:last-child:before {
            border: none;
        }
        
        .lists {
            width: 1200px;
            height: 42px;
        }
        
        .f-switch {
            background-image: url('img/pull-up.png');
            background-position: 90% center;
            background-repeat: no-repeat;
            cursor: pointer;
            position: absolute;
            top: 0;
            right: 0;
            font-size: 12px;
            line-height: 15px;
            display: inline-block;
            padding: 3px 15px 3px 5px;
            color: #999;
            background-color: #ddd;
            border-radius: 3px;
        }
        
        .friend-link {
            position: relative;
            margin: 15px 0;
            text-align: left;
            font-size: 14px;
            height: auto;
            overflow: hidden;
        }
        
        .friend-link h2 {
            line-height: 1.5;
            height: 1.5px;
            width: 80px;
            float: left;
            font-size: inherit;
            font-weight: bold;
            color: #999;
        }
        
        .friend-link a {
            margin: 12px 12px 0 0;
            white-space: nowrap;
            color: #999;
        }
        
        .friend-link .lists {
            width: 1060px;
            line-height: 1.5;
            float: left;
        }
        
        .copyright,
        a {
            line-height: 2px;
            color: #999;
            text-align: center;
        }
        
        .copyright p {
            padding-top: 10px;
            line-height: 2px;
            width: 100%;
            font-size: 12px;
            height: 24px;
        }
        
        .authen-link {
            padding: 20px;
            text-align: center;
        }
        
        .authen-link img {
            margin: 0 5px;
        }
        
        img {
            max-width: 100%;
            border: none;
            vertical-align: middle;
        }
        
        .k {
            width: 1424px;
            margin: 0 auto;
        }
    </style>
</head>

<body>
    <!-- <div class="k"><img src="slice/footer.png" alt=""> -->
    </div>
    <div class="container">
        <footer class="">
            <div class="wrap">
                <ul class="code-box" type="none">
                    <li class="code-item">
                        <div>
                            <img src="img/qrcode_weibo.png" alt="" />
                        </div>
                        <div>
                            <p class="t">官方微博</p>
                            <p class="s-t">关注官方微博，精彩活动抢先获得</p>
                            <p class="link"><a href="">关注</a></p>
                        </div>
                    </li>
                    <li class="code-item">
                        <div>
                            <img src="img/qrcode_app.png" alt="" />
                        </div>
                        <div>
                            <p class="t">有宠APP</p>
                            <p class="s-t">超有爱的宠物交友社区</p>
                            <P class="link">
                                <a href="">iPhone下载</a>
                                <a href="">Android下载</a>
                            </P>
                        </div>
                    </li>
                    <li class="code-item">
                        <div>
                            <img src="img/qrcode_wechat.png" alt="" />
                        </div>
                        <div>
                            <p class="t">有宠公众号</p>
                            <p class="s-t">扫描二维码，一手资讯准时到</p>
                            <p class="link"><a href="">微信号:yc-pet</a></p>
                        </div>
                    </li>
                </ul>
                <div class="sub-nav">
                    <a class="" href="">联系我们</a>
                    <a class="" href="">加入我们</a>
                    <a class="" href="">用户协议</a>
                    <a class="" href="">意见反馈</a>
                    <a class="" href="">关于我们</a>
                    <a class="" href="">聚合标签</a>
                    <a class="" href="">网站地图</a>
                </div>

                <div class="friend-link">
                    <h2 class="footer-title">友情链接：</h2>
                    <p class="lists">
                        <a href="">有宠加盟</a>
                        <a href="">宠物天空网</a>
                        <a href="">爬行天下</a>
                        <a href="">宠物生活网</a>
                        <a href="">宠物医师网</a>
                        <a href="">神龟网</a>
                        <a href="">兽药网</a>
                        <a href="">动物网</a>
                        <a href="">宠物网</a>
                        <a href="">热带鱼鱼缸</a>
                        <a href="">孔雀鱼</a>
                        <a href="">宠物领养</a>
                        <a href="">马犬</a>
                        <a href="">狗狗网</a>
                        <a href="">秀宠网</a>
                        <!-- </p>
                        <br>
                        <p class="lists"> -->
                        <a href="">狗狗</a>
                        <a href="">宠物美容</a>
                        <a href="">安哥鲁</a>
                        <a href="">波奇论坛</a>
                        <a href="">多肉植物网</a>
                        <a href="">宠物美容学校</a>
                        <a href="">兽药知识</a>
                        <a href="">宠物赠送领养</a>
                        <a href="">北京犬</a>
                        <a href="">侏儒海棠兔</a>
                        <a href="">缅因猫</a>
                        <a href="">日本小鼯鼠养狗</a>
                    </p>
                    <div class="f-switch">展开</div>
                </div>
                <div class="copyright">
                    <p>Copyright&copy2015-2019&nbsp;yc.cn&nbsp;All&nbsp;Rights&nbsp;Reserved&nbsp;广州有宠网络科技股份有限公司&nbsp;版权所有
                        <a href="" style="color:#999">粤ICP备15049666号-3</a> 粤公网安备:44011602000134号 粤网文(2016)2117-460号
                    </p>
                </div>
                <div class="authen-link">
                    <a href=""><img src="img/hy_124x47.png" alt=""></a>
                    <a href=""><img width="50" hight="50" src="img/wenhuajingying.png" alt=""></a>
                </div>
            </div>
        </footer>
    </div>
</body>

</html>